package com.yonyou.gmmc.service.dealer.model;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

@Table(name = "TT_SOSHELP")
public class TtSoshelp {
    @Id
    @Column(name = "SOSHELP_ID")
    @SequenceGenerator(name="",sequenceName="SEQ_TT_SOSHELP")
    private Long soshelpId;

    @Column(name = "CAR_OWNER_USER_ID")
    private Long carOwnerUserId;

    @Column(name = "DEALER_CODE")
    private String dealerCode;

    @Column(name = "LONGITUDE")
    private BigDecimal longitude;

    @Column(name = "LATITUDE")
    private BigDecimal latitude;

    @Column(name = "HELP_LOCAL")
    private String helpLocal;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @Column(name = "SUPPORT_DATE")
    private Date supportDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @Column(name = "SUPPORT_FINISH_DATE")
    private Date supportFinishDate;

    @Column(name = "STATUS")
    private Integer status;

    @Column(name = "SALES_CONSULTANT_ID")
    private Long salesConsultantId;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @Column(name = "CREATE_DATE")
    private Date createDate;

    @Column(name = "CREATE_BY")
    private Long createBy;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @Column(name = "UPDATE_DATE")
    private Date updateDate;

    @Column(name = "UPDATE_BY")
    private Long updateBy;

    @Column(name = "ODD_NUMBER")
    private String oddNumber;

    @Column(name = "SOS_TYPE")
    private String sosType;

    @Column(name = "REMARK")
    private String remark;
    
    //救援状态
    private String statusName;
    
    //客户电话
    private String userPhone;
    
    private String userName;
    

    /**
     * @return SOSHELP_ID
     */
    public Long getSoshelpId() {
        return soshelpId;
    }

    /**
     * @param soshelpId
     */
    public void setSoshelpId(Long soshelpId) {
        this.soshelpId = soshelpId;
    }

    /**
     * @return CAR_OWNER_USER_ID
     */
    public Long getCarOwnerUserId() {
        return carOwnerUserId;
    }

    /**
     * @param carOwnerUserId
     */
    public void setCarOwnerUserId(Long carOwnerUserId) {
        this.carOwnerUserId = carOwnerUserId;
    }

    /**
     * @return DEALER_CODE
     */
    public String getDealerCode() {
        return dealerCode;
    }

    /**
     * @param dealerCode
     */
    public void setDealerCode(String dealerCode) {
        this.dealerCode = dealerCode;
    }

    /**
     * @return LONGITUDE
     */
    public BigDecimal getLongitude() {
        return longitude;
    }

    /**
     * @param longitude
     */
    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    /**
     * @return LATITUDE
     */
    public BigDecimal getLatitude() {
        return latitude;
    }

    /**
     * @param latitude
     */
    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    /**
     * @return HELP_LOCAL
     */
    public String getHelpLocal() {
        return helpLocal;
    }

    /**
     * @param helpLocal
     */
    public void setHelpLocal(String helpLocal) {
        this.helpLocal = helpLocal;
    }

    /**
     * @return SUPPORT_DATE
     */
    public Date getSupportDate() {
        return supportDate;
    }

    /**
     * @param supportDate
     */
    public void setSupportDate(Date supportDate) {
        this.supportDate = supportDate;
    }

    /**
     * @return SUPPORT_FINISH_DATE
     */
    public Date getSupportFinishDate() {
        return supportFinishDate;
    }

    /**
     * @param supportFinishDate
     */
    public void setSupportFinishDate(Date supportFinishDate) {
        this.supportFinishDate = supportFinishDate;
    }

    /**
     * @return STATUS
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * @param status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * @return SALES_CONSULTANT_ID
     */
    public Long getSalesConsultantId() {
        return salesConsultantId;
    }

    /**
     * @param salesConsultantId
     */
    public void setSalesConsultantId(Long salesConsultantId) {
        this.salesConsultantId = salesConsultantId;
    }

    /**
     * @return CREATE_DATE
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @return CREATE_BY
     */
    public Long getCreateBy() {
        return createBy;
    }

    /**
     * @param createBy
     */
    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    /**
     * @return UPDATE_DATE
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * @param updateDate
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * @return UPDATE_BY
     */
    public Long getUpdateBy() {
        return updateBy;
    }

    /**
     * @param updateBy
     */
    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * @return ODD_NUMBER
     */
    public String getOddNumber() {
        return oddNumber;
    }

    /**
     * @param oddNumber
     */
    public void setOddNumber(String oddNumber) {
        this.oddNumber = oddNumber;
    }

    /**
     * @return SOS_TYPE
     */
    public String getSosType() {
        return sosType;
    }

    /**
     * @param sosType
     */
    public void setSosType(String sosType) {
        this.sosType = sosType;
    }

    /**
     * @return REMARK
     */
    public String getRemark() {
        return remark;
    }

    /**
     * @param remark
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

	public String getStatusName() {
		return statusName;
	}

	public void setStatusName(String statusName) {
		this.statusName = statusName;
	}

	public String getUserPhone() {
		return userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
    
}